package org.tgcloud.group.repository;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.tgcloud.group.entity.MjOrderRateRecord;
import org.tgcloud.group.web.controller.dto.order.MjOrderRateRecordDTO;

import java.util.List;

/**
* @Author: zhy
* @Created: 2024-09-03-上午11:21
* @Description: ${description}
*/
@Mapper
public interface MjOrderRateRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MjOrderRateRecord record);

    int insertSelective(MjOrderRateRecord record);

    MjOrderRateRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MjOrderRateRecord record);

    int updateByPrimaryKey(MjOrderRateRecord record);

    List<MjOrderRateRecordDTO> selectRecordListByOrderId(@Param("orderId") Integer orderId);
}